package gg.learn.innerclass;
/**
 * 使用.new来创建内部类
 */
class AOuter {
    public Inter getInter(){
        return new Inter();
    }
    class Inter {}  
  
}
public class Ex5 {
    public static void main(String[] args) {
        AOuter outer= new AOuter();
        AOuter.Inter in =  outer.new Inter();
    }
}
